100 |
How do I disable the full-row selection in the control
Grid1->FullRowSelect = Exgridlib_tlb::CellSelectEnum::exColumnSel; Grid1->Columns->Add(L"Column"); Grid1->Items->AddItem(TVariant("One")); Grid1->Items->AddItem(TVariant("Two")); |
99 |
Is there any option to specify the height of the items, before adding them
Grid1->DefaultItemHeight = 32; Grid1->Columns->Add(L"Column"); Grid1->Items->AddItem(TVariant("One")); Grid1->Items->AddItem(TVariant("Two")); |
98 |
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns
Grid1->CountLockedColumns = 1; Grid1->BackColorLock = RGB(240,240,240); Grid1->ColumnAutoResize = false; Grid1->Columns->Add(L"Locked")->Width = 128; Grid1->Columns->Add(L"Un-Locked 1")->Width = 128; Grid1->Columns->Add(L"Un-Locked 2")->Width = 128; Grid1->Columns->Add(L"Un-Locked 3")->Width = 128; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant("locked"))),TVariant(1),TVariant("unlocked")); |
97 |
How do I change the control's background / foreground color on the locked area
Grid1->CountLockedColumns = 1; Grid1->ForeColorLock = RGB(240,240,240); Grid1->BackColorLock = RGB(128,128,128); Grid1->ColumnAutoResize = false; Grid1->Columns->Add(L"Locked")->Width = 128; Grid1->Columns->Add(L"Un-Locked 1")->Width = 128; Grid1->Columns->Add(L"Un-Locked 2")->Width = 128; Grid1->Columns->Add(L"Un-Locked 3")->Width = 128; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant("locked"))),TVariant(1),TVariant("unlocked")); |
96 |
How do I change the control's foreground color
Grid1->ForeColor = RGB(120,120,120); Grid1->Columns->Add(L"Column"); Grid1->Items->AddItem(TVariant("item")); |
95 |
How do I change the control's background color
Grid1->BackColor = RGB(200,200,200); |
94 |
How do I use my own icons for my radio buttons
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Grid1->RadioImage[false] = 1; Grid1->RadioImage[true] = 2; Grid1->Columns->Add(L"Radio")->set_Def(Exgridlib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Radio 1")); var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Radio 2"))),TVariant(0),1); var_Items->AddItem(TVariant("Radio 3")); |
93 |
How do I use my own icons for checkbox cells
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Grid1->CheckImage[Exgridlib_tlb::CheckStateEnum::Unchecked] = 1; Grid1->CheckImage[Exgridlib_tlb::CheckStateEnum::Checked] = 2; Grid1->Columns->Add(L"Check")->set_Def(Exgridlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Check 1")); var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Check 2"))),TVariant(0),1); |
92 |
How do I perform my own sorting when user clicks the column's header
Grid1->SortOnClick = Exgridlib_tlb::SortOnClickEnum::exUserSort; Grid1->Columns->Add(L"Column"); Grid1->Items->AddItem(TVariant("Item 1")); Grid1->Items->AddItem(TVariant("Item 2")); |
91 |
How do I disable sorting a specified column when clicking its header
|
90 |
How do I disable sorting the columns when clicking the control's header
|
89 |
How do I put a picture on the center of the control
Grid1->Picture = (IPictureDisp*)(Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); Grid1->PictureDisplay = Exgridlib_tlb::PictureDisplayEnum::MiddleCenter; |
88 |
How do I resize/stretch a picture on the control's background
Grid1->Picture = (IPictureDisp*)(Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); Grid1->PictureDisplay = Exgridlib_tlb::PictureDisplayEnum::Stretch; |
87 |
How do I put a picture on the control's center right bottom side
Grid1->Picture = (IPictureDisp*)(Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); Grid1->PictureDisplay = Exgridlib_tlb::PictureDisplayEnum::LowerRight; |
86 |
How do I put a picture on the control's center left bottom side
Grid1->Picture = (IPictureDisp*)(Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); Grid1->PictureDisplay = Exgridlib_tlb::PictureDisplayEnum::LowerLeft; |
85 |
How do I put a picture on the control's center top side
Grid1->Picture = (IPictureDisp*)(Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); Grid1->PictureDisplay = Exgridlib_tlb::PictureDisplayEnum::UpperCenter; |
84 |
How do I put a picture on the control's right top corner
Grid1->Picture = (IPictureDisp*)(Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); Grid1->PictureDisplay = Exgridlib_tlb::PictureDisplayEnum::UpperRight; |
83 |
How do I put a picture on the control's left top corner
Grid1->Picture = (IPictureDisp*)(Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); Grid1->PictureDisplay = Exgridlib_tlb::PictureDisplayEnum::UpperLeft; |
82 |
How do I put a picture on the control's background
|
81 |
How do I sort descending a column, and put the sorting icon in the column's header
Grid1->Columns->Add(L"Column"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Item 1")); var_Items->AddItem(TVariant("Item 2")); var_Items->AddItem(TVariant("Item 3")); Grid1->Columns->get_Item(TVariant(0))->SortOrder = Exgridlib_tlb::SortOrderEnum::SortDescending; |
80 |
How do I sort ascending a column, and put the sorting icon in the column's header
Grid1->Columns->Add(L"Column"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Item 3")); var_Items->AddItem(TVariant("Item 1")); var_Items->AddItem(TVariant("Item 2")); Grid1->Columns->get_Item(TVariant(0))->SortOrder = Exgridlib_tlb::SortOrderEnum::SortAscending; |
79 |
How do I perform my own/custom sort, using my extra strings
Grid1->Columns->Add(L"desc")->SortType = Exgridlib_tlb::SortTypeEnum::SortCellDataString; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSortData(TVariant(var_Items->AddItem(TVariant("A"))),TVariant(0),TVariant("C")); var_Items->set_CellSortData(TVariant(var_Items->AddItem(TVariant("B"))),TVariant(0),TVariant("B")); var_Items->set_CellSortData(TVariant(var_Items->AddItem(TVariant("C"))),TVariant(0),TVariant("A")); var_Items->SortChildren(0,TVariant(0),false); |
78 |
How do I perform my own/custom sort, using my extra numbers
Grid1->Columns->Add(L"desc")->SortType = Exgridlib_tlb::SortTypeEnum::SortUserData; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSortData(TVariant(var_Items->AddItem(TVariant(0))),TVariant(0),TVariant(2)); var_Items->set_CellSortData(TVariant(var_Items->AddItem(TVariant(1))),TVariant(0),TVariant(1)); var_Items->set_CellSortData(TVariant(var_Items->AddItem(TVariant(2))),TVariant(0),TVariant(0)); var_Items->SortChildren(0,TVariant(0),false); |
77 |
How do I perform my own/custom sort, using my extra numbers
Grid1->Columns->Add(L"desc")->SortType = Exgridlib_tlb::SortTypeEnum::SortUserData; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellData(TVariant(var_Items->AddItem(TVariant(0))),TVariant(0),TVariant(2)); var_Items->set_CellData(TVariant(var_Items->AddItem(TVariant(1))),TVariant(0),TVariant(1)); var_Items->set_CellData(TVariant(var_Items->AddItem(TVariant(2))),TVariant(0),TVariant(0)); var_Items->SortChildren(0,TVariant(0),false); |
76 |
By default, the column gets sorted as strings, so how do I sort a column by time only
Grid1->Columns->Add(L"desc")->SortType = Exgridlib_tlb::SortTypeEnum::SortTime; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("11:00")); var_Items->AddItem(TVariant("10:10")); var_Items->AddItem(TVariant("12:12")); var_Items->SortChildren(0,TVariant(0),false); |
75 |
By default, the column gets sorted as strings, so how do I sort a column by date and time
Grid1->Columns->Add(L"desc")->SortType = Exgridlib_tlb::SortTypeEnum::SortDateTime; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(TDateTime(2001,1,1,10,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,1,11,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,2,10,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,2,11,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,3,10,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,3,11,00,00,0).operator double())); var_Items->SortChildren(0,TVariant(0),false); |
74 |
By default, the column gets sorted as strings, so how do I sort a column by dates
Grid1->Columns->Add(L"desc")->SortType = Exgridlib_tlb::SortTypeEnum::SortDate; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(TDateTime(2001,1,1,10,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,1,11,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,2,10,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,2,11,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,3,10,00,00,0).operator double())); var_Items->AddItem(TVariant(TDateTime(2001,1,3,11,00,00,0).operator double())); var_Items->SortChildren(0,TVariant(0),false); |
73 |
How do I sort a column by numbers
Grid1->Columns->Add(L"desc")->SortType = Exgridlib_tlb::SortTypeEnum::SortNumeric; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(5)); var_Items->AddItem(TVariant(10)); var_Items->SortChildren(0,TVariant(0),false); |
72 |
How do I hide the control's header bar
|
71 |
How do change the visual appearance for the control's header bar, using EBN
Grid1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn")); Grid1->BackColorHeader = 0x1000000; |
70 |
How do I remove the control's border
|
69 |
I have a hierarchy and I need to filter only root items that match, with thier childs
Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exLinesAtRoot; Grid1->FilterInclude = Exgridlib_tlb::FilterIncludeEnum::exRootsWithChilds; Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exFilter; var_Column->Filter = L"R1"; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("R1")); var_Items->InsertItem(h,TNoParam(),TVariant("C1")); var_Items->InsertItem(h,TNoParam(),TVariant("C2")); var_Items->set_ExpandItem(h,true); h = var_Items->AddItem(TVariant("R2")); var_Items->InsertItem(h,TNoParam(),TVariant("C1")); var_Items->InsertItem(h,TNoParam(),TVariant("C2")); Grid1->ApplyFilter(); |
68 |
I have a hierarchy and I need to filter only root items that match, without thier childs
Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exLinesAtRoot; Grid1->FilterInclude = Exgridlib_tlb::FilterIncludeEnum::exRootsWithoutChilds; Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exFilter; var_Column->Filter = L"R1"; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("R1")); var_Items->InsertItem(h,TNoParam(),TVariant("C1")); var_Items->InsertItem(h,TNoParam(),TVariant("C2")); var_Items->set_ExpandItem(h,true); h = var_Items->AddItem(TVariant("R2")); var_Items->InsertItem(h,TNoParam(),TVariant("C1")); var_Items->InsertItem(h,TNoParam(),TVariant("C2")); Grid1->ApplyFilter(); |
67 |
I have a hierarchy and I need to filter only parent items that match, including thier childs
Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exLinesAtRoot; Grid1->FilterInclude = Exgridlib_tlb::FilterIncludeEnum::exItemsWithChilds; Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exFilter; var_Column->Filter = L"R1"; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("R1")); var_Items->InsertItem(h,TNoParam(),TVariant("C1")); var_Items->InsertItem(h,TNoParam(),TVariant("C2")); var_Items->set_ExpandItem(h,true); h = var_Items->AddItem(TVariant("R2")); var_Items->InsertItem(h,TNoParam(),TVariant("C1")); var_Items->InsertItem(h,TNoParam(),TVariant("C2")); Grid1->ApplyFilter(); |
66 |
How can I get ride/hide of the "Filter For" field
|
65 |
Is there any way to get listed only visible items in the drop down filter window
Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exLinesAtRoot; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarAll] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarBlanks] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarNonBlanks] = L""; Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"P1"); var_Column->DisplayFilterButton = true; var_Column->DisplayFilterPattern = false; var_Column->FilterList = Exgridlib_tlb::FilterListEnum::exVisibleItems; Exgridlib_tlb::IColumnPtr var_Column1 = Grid1->Columns->Add(L"P2"); var_Column1->DisplayFilterButton = true; var_Column1->DisplayFilterPattern = false; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("R1")); var_Items->set_CellValue(TVariant(h),TVariant(1),TVariant("R2")); var_Items->set_CellValue(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Cell 1.1"))),TVariant(1),TVariant("Cell 1.2")); var_Items->set_CellValue(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Cell 2.1"))),TVariant(1),TVariant("Cell 2.2")); |
64 |
How do I filter for items that match exactly the specified string
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exFilter; var_Column->Filter = L"Item 1"; Grid1->Items->AddItem(TVariant("Item 1")); Grid1->Items->AddItem(TVariant("Item 2")); Grid1->Items->AddItem(TVariant("Item 3")); Grid1->ApplyFilter(); |
63 |
How can I can I programmatically filter for items with a specified icon assigned
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exImage; var_Column->Filter = L"1"; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellImage(TVariant(var_Items->AddItem(TVariant("Image 1"))),TVariant(0),1); var_Items->set_CellImage(TVariant(var_Items->AddItem(TVariant("Image 1"))),TVariant(0),1); var_Items->set_CellImage(TVariant(var_Items->AddItem(TVariant("Image 2"))),TVariant(0),2); var_Items->set_CellImage(TVariant(var_Items->AddItem(TVariant("Image 3"))),TVariant(0),3); Grid1->ApplyFilter(); |
62 |
How can I can I programmatically filter the checked items
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->set_Def(Exgridlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true)); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exCheck; var_Column->Filter = L"0"; Grid1->Items->AddItem(TVariant(0)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant(1))),TVariant(0),1); Grid1->Items->AddItem(TVariant(2)); Grid1->ApplyFilter(); |
61 |
How can I can I filter programmatically the items based on some numerichal rules
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exNumeric; var_Column->Filter = L"> 0 <= 1"; Grid1->Items->AddItem(TVariant(0)); Grid1->Items->AddItem(TVariant(1)); Grid1->Items->AddItem(TVariant(2)); Grid1->ApplyFilter(); |
60 |
How can I can I filter programmatically the items based on a range/interval of dates
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->DisplayFilterDate = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exDate; var_Column->Filter = L"1/1/2001 to 1/1/2002"; Grid1->Items->AddItem(TVariant("1/1/2001")); Grid1->Items->AddItem(TVariant("2/1/2002")); Grid1->ApplyFilter(); |
59 |
How can I can I filter programmatically given a specified pattern using wild characters like * or
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exPattern; var_Column->Filter = L"0*"; Grid1->Items->AddItem(TVariant(0)); Grid1->Items->AddItem(TVariant("00")); Grid1->Items->AddItem(TVariant(1)); Grid1->Items->AddItem(TVariant("11")); Grid1->ApplyFilter(); |
58 |
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exBlanks; Grid1->ApplyFilter(); |
57 |
How can I display the column's filter
|
56 |
How can I show only the vertical scroll bar
Grid1->ColumnAutoResize = true; Grid1->ScrollBars = Exgridlib_tlb::ScrollBarsEnum::exDisableNoVertical; Grid1->Columns->Add(L"1"); Grid1->Columns->Add(L"2"); |
55 |
How can I show the control's grid lines only for added/visible items
Grid1->MarkSearchColumn = false; Grid1->DrawGridLines = Exgridlib_tlb::GridLinesEnum::exRowLines; Grid1->Columns->Add(L"Column 1"); Grid1->Columns->Add(L"Column 2"); Grid1->Items->AddItem(TVariant(0)); Grid1->Items->AddItem(TVariant(1)); Grid1->Items->AddItem(TVariant(2)); |
54 |
Can I hide the hierarchy lines
Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot; Grid1->HasLines = Exgridlib_tlb::HierarchyLineEnum::exNoLine; Grid1->Columns->Add(L"Column"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("Root 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 2")); var_Items->set_ExpandItem(h,true); h = var_Items->AddItem(TVariant("Root 2")); var_Items->InsertItem(h,TNoParam(),TVariant("Child")); |
53 |
Can I change the style or type for the hierarchy lines
Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot; Grid1->HasLines = Exgridlib_tlb::HierarchyLineEnum::exThinLine; Grid1->Columns->Add(L"Column"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("Root 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 2")); var_Items->set_ExpandItem(h,true); h = var_Items->AddItem(TVariant("Root 2")); var_Items->InsertItem(h,TNoParam(),TVariant("Child")); |
52 |
Can I use my own icons for the +/- ( expand/collapse ) buttons
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot; Grid1->HasButtons = Exgridlib_tlb::ExpandButtonEnum::exCustom; Grid1->HasButtonsCustom[false] = 1; Grid1->HasButtonsCustom[true] = 2; Grid1->Columns->Add(L"Column"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("Root 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 2")); var_Items->set_ExpandItem(h,true); h = var_Items->AddItem(TVariant("Root 2")); var_Items->InsertItem(h,TNoParam(),TVariant("Child")); |
51 |
How do I change visual appearance of the +/- ( expand/collapse ) buttons
Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot; Grid1->HasButtons = Exgridlib_tlb::ExpandButtonEnum::exWPlus; Grid1->Columns->Add(L"Column"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("Root 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 2")); var_Items->set_ExpandItem(h,true); h = var_Items->AddItem(TVariant("Root 2")); var_Items->InsertItem(h,TNoParam(),TVariant("Child")); |
50 |
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exCheck; var_Column->Filter = L"0"; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarIsChecked] = L"Check_On"; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarIsUnchecked] = L"Check_Off"; Grid1->ApplyFilter(); |
49 |
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exCheck; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarChecked] = L"with check on"; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarUnchecked] = L"with check off"; |
48 |
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->DisplayFilterDate = true; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarDateWeekDays] = L"Du Lu Ma Mi Jo Vi Si"; Grid1->ApplyFilter(); |
47 |
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->DisplayFilterDate = true; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarDateMonths] = L"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"; Grid1->ApplyFilter(); |
46 |
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->DisplayFilterDate = true; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarDateTodayCaption] = L"Azi"; Grid1->ApplyFilter(); |
45 |
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->DisplayFilterDate = true; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarDateTo] = L"->"; Grid1->ApplyFilter(); |
44 |
How can I filter the items that are between an interval/range of dates
|
43 |
Can I change the "Date:" caption when the column's drop down filter window is shown
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->DisplayFilterDate = true; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarDate] = L"Range"; Grid1->ApplyFilter(); |
42 |
Can I filter for values using OR - NOT , instead AND operator
|
41 |
Can I change the NOT string in the filter bar
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column 1"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exBlanks; Exgridlib_tlb::IColumnPtr var_Column1 = Grid1->Columns->Add(L"Column 2"); var_Column1->DisplayFilterButton = true; var_Column1->FilterType = Exgridlib_tlb::FilterTypeEnum::exNonBlanks; Grid1->FilterCriteria = L"not %0 or %1"; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarNot] = L" ! "; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarIsNonBlank] = L" ! IsBlank"; Grid1->ApplyFilter(); |
40 |
Can I change the OR string in the filter bar
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column 1"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exBlanks; Exgridlib_tlb::IColumnPtr var_Column1 = Grid1->Columns->Add(L"Column 2"); var_Column1->DisplayFilterButton = true; var_Column1->FilterType = Exgridlib_tlb::FilterTypeEnum::exNonBlanks; Grid1->FilterCriteria = L"%0 or %1"; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarOr] = L" | "; Grid1->ApplyFilter(); |
39 |
Can I change the AND string in the filter bar
|
38 |
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Column"); var_Column->DisplayFilterButton = true; var_Column->FilterType = Exgridlib_tlb::FilterTypeEnum::exBlanks; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarIsBlank] = L"Is Empty"; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarIsNonBlank] = L"Is Not Empty"; Grid1->ApplyFilter(); |
37 |
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
Grid1->Columns->Add(L"Column")->DisplayFilterButton = true; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarFilterTitle] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarPatternFilterTitle] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarTooltip] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarPatternTooltip] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarFilterForTooltip] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarDateTooltip] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarDateTitle] = L""; |
36 |
How can I change the "Filter For" caption in the column's drop down filter window
|
35 |
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window
Grid1->Columns->Add(L"Column")->DisplayFilterButton = true; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarAll] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarBlanks] = L""; Grid1->Description[Exgridlib_tlb::DescriptionTypeEnum::exFilterBarNonBlanks] = L""; |
34 |
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window
|
33 |
How can I change the position of the column
|
32 |
Can I make strikeout the column's header
Grid1->Columns->Add(L"Column 1")->HeaderStrikeOut = true; |
31 |
How can I apply an strikeout font only a portion of the column's header
|
30 |
How can I get underlined only a portion of column's header
|
29 |
How can I underline the column's header
|
28 |
How can I apply an italic font only a portion of the column's header
|
27 |
Is there any option to make italic the column's header
|
26 |
How can I bold only a portion of the column's header
|
25 |
Is there any option to bold the column's header
|
24 |
Why child items are not shown
Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exLinesAtRoot; Grid1->Columns->Add(L"Column 1"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("Root")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 2")); var_Items->set_ExpandItem(h,true); |
23 |
Does your control support partial-check ( three states ) feature for each column
Grid1->BeginUpdate(); Grid1->LinesAtRoot = Exgridlib_tlb::LinesAtRootEnum::exLinesAtRoot; Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"P1"); var_Column->set_Def(Exgridlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true)); var_Column->PartialCheck = true; Exgridlib_tlb::IColumnPtr var_Column1 = Grid1->Columns->Add(L"P2"); var_Column1->set_Def(Exgridlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true)); var_Column1->PartialCheck = true; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TVariant("Root")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 1")); var_Items->InsertItem(h,TNoParam(),TVariant("Child 2")); var_Items->set_ExpandItem(h,true); Grid1->EndUpdate(); |
22 |
Is there any option to change the color for the grid lines
Grid1->Columns->Add(L""); Grid1->DrawGridLines = Exgridlib_tlb::GridLinesEnum::exAllLines; Grid1->GridLineColor = RGB(255,0,0); |
21 |
Can I change the font to display the column's header
Grid1->HeaderHeight = 34; Grid1->Columns->Add(L"Column 1")->HTMLCaption = L"<font Tahoma;14>Column</font> 1"; |
20 |
Can I change the height of the header bar
|
19 |
Can I display multiple icons to the column's header
|
18 |
How can I draw grid lines only for visible items
Grid1->MarkSearchColumn = false; Grid1->DrawGridLines = Exgridlib_tlb::GridLinesEnum::exRowLines; Grid1->Columns->Add(L"Column 1"); Grid1->Columns->Add(L"Column 2"); Grid1->Items->AddItem(TVariant(0)); Grid1->Items->AddItem(TVariant(1)); Grid1->Items->AddItem(TVariant(2)); |
17 |
How can I show the control's grid lines
Grid1->MarkSearchColumn = false; Grid1->DrawGridLines = Exgridlib_tlb::GridLinesEnum::exAllLines; Grid1->Columns->Add(L"Column 1"); Grid1->Columns->Add(L"Column 2"); Grid1->Items->AddItem(TVariant(0)); Grid1->Items->AddItem(TVariant(1)); Grid1->Items->AddItem(TVariant(2)); |
16 |
How can I assign a different background color for the entire column
Grid1->MarkSearchColumn = false; Grid1->Columns->Add(L"Column 1")->set_Def(Exgridlib_tlb::DefColumnEnum::exCellBackColor,TVariant(255)); Grid1->Columns->Add(L"Column 2"); Grid1->Items->AddItem(TVariant(0)); Grid1->Items->AddItem(TVariant(1)); Grid1->Items->AddItem(TVariant(2)); |
15 |
How can I assign a check box for a cell
Grid1->Columns->Add(L"Column 1"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(0)); var_Items->set_CellHasCheckBox(TVariant(var_Items->AddItem(TVariant(1))),TVariant(0),true); var_Items->AddItem(TVariant(2)); |
14 |
How can I assign checkboxes for the entire column
Grid1->Columns->Add(L"Column 1")->set_Def(Exgridlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true)); Grid1->Items->AddItem(TVariant(0)); Grid1->Items->AddItem(TVariant(1)); Grid1->Items->AddItem(TVariant(2)); |
13 |
How can I show both scrollbars
|
12 |
How can I change the column's width
Grid1->ColumnAutoResize = false; Grid1->Columns->Add(L"Column 1")->Width = 64; Grid1->Columns->Add(L"Column 2")->Width = 128; |
11 |
How can I show or hide a column
|
10 |
How can I hide the searching column
Grid1->MarkSearchColumn = false; Grid1->Columns->Add(L"Column 1"); Grid1->Columns->Add(L"Column 2"); Grid1->Items->AddItem(TNoParam()); |
9 |
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
|
8 |
Is there any option to align the header to the left and the data to the right
Grid1->Columns->Add(L"Left")->Alignment = Exgridlib_tlb::AlignmentEnum::LeftAlignment; Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Right"); var_Column->Alignment = Exgridlib_tlb::AlignmentEnum::RightAlignment; var_Column->HeaderAlignment = Exgridlib_tlb::AlignmentEnum::RightAlignment; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant("left"))),TVariant(1),TVariant("right")); |
7 |
Can I displays a custom size picture to column's header
|
6 |
How can I insert an icon to column's header
|
5 |
How can I insert an icon to column's header
|
4 |
How can I use HTML format in column's header
|
3 |
How can I change/rename the column's name
|
2 |
How can I add multiple columns
Exgridlib_tlb::IColumnsPtr var_Columns = Grid1->Columns; var_Columns->Add(L"Column 1"); var_Columns->Add(L"Column 2"); |
1 |
How can I add a new column
|